<?php $this->load->view('shared/header');?>

<?php if(isset($message)):?>

	<p><?php echo $message; ?></p>

<?php endif; ?>



<ul>

<?php foreach($users as $id=>$user): ?>

	<li id="user_<?php echo $id ?>"><a href="<?php echo URL.'users/edit/'.$id; ?>"><?php echo $user['first_name'].' '.$user['last_name']; ?></a></li>

<?php endforeach; ?>

</ul>

<p><a href="<?php echo URL.'users/add/';?>">ADD NEW USER</a></p>

<?php $this->load->view('shared/footer');?>



